package org.example.pojo;

public class Student {
    private Integer studentid;
    private String sno;
    private String realname;
    private String depart;
    private String major;

    public Integer getStudentid() {
        return studentid;
    }

    public void setStudentid(Integer studentid) {
        this.studentid = studentid;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getDepart() {
        return depart;
    }

    public void setDepart(String depart) {
        this.depart = depart;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentid=" + studentid +
                ", sno='" + sno + '\'' +
                ", realname='" + realname + '\'' +
                ", depart='" + depart + '\'' +
                ", major='" + major + '\'' +
                '}';
    }
}
